Automated Evolutionary Test Data Generation with Domain Reduction for Aspect-Oriented Programs
نویسندگان
چکیده
Aspect-Oriented Programming is an emerging technique that helps improve separation of concerns in software systems. It has received a great deal of recent interest. However, algorithms and empirical results for testing of aspect-oriented programs are lagging some way behind this upsurge in interest. To date, there are few published approaches to automated test data generation for aspectoriented programs and, therefore, there remain few empirical results on testing aspect-oriented programs. In this paper, we present a new approach to automated test data generation for aspect-oriented programs and its supporting system, providing empirical evidence to validate its applicability. The new approach uses domain reduction to further improve the performance of test data generation, providing empirical evidence that domain reduction can significantly reduce the computational expense of test data generation for aspectoriented programs. The paper also presents the results of a study into effort reduction when focusing on testing behavior in aspects instead of all behavior in the whole program.
منابع مشابه
Automated Test Generation for AspectJ Programs
Aspect-oriented software development (AOSD) is a new paradigm that improves separation of concerns in software development. AOSD has gained popularity with the adoption of languages such as AspectJ. Automated test generation for AspectJ programs is important for reducing the manual effort in testing AspectJ programs. This position paper proposes Wrasp, a framework for automatic generation of te...
متن کاملAutomated State-Based Unit Testing for Aspect-Oriented Programs: A Supporting Framework
Interactions between aspects and classes are a new source for faults. Existing objectoriented testing techniques are not adequate for testing aspect-oriented programs. As a consequence, new testing techniques must be developed. We present, in this paper, a state-based unit testing technique for aspect-oriented programs and associated tool (AJUnit). The technique focuses on the integration of on...
متن کاملA Complete Automation of Unit Testing for Java Programs
Program testing is expensive and laborintensive, often consuming more than half of the total development costs, and yet it is frequently not done well and the results are not always satisfactory. However, testing is the primary method to ensure that programs comply with requirements. We describe our on-going project that attempts to completely automate unit testing of objectoriented programs. O...
متن کاملEvolutionary Testing Approach for Solving Path- Oriented Multivariate Problems
A multivariate approach involves varying number of objectives to be satisfied simultaneously in testing process. An evolutionary approach, genetic algorithm is taken for solving multivariate problems in software engineering. The Multivariate Optimization Problem (MOP) has a set of solutions, each of which satisfies the objectives at an acceptable level. Another evolutionary algorithm named SBGA...
متن کاملAutomatic Generation of Programs
Automatic generation of program is definitely an alluring problem. Over the years many approaches emerged, which try to smooth away parts of programmers’ work. One approach already widely used today is colloquially known as code generation (or code generators). This approach includes many methods and tools, therefore many different terms are used to describe this concept. The very basic tools a...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2007